package com.ITArmy.service;

import com.ITArmy.common.ServerResponse;

import javax.servlet.http.HttpServletRequest;

public interface PraiseService  {


    //用户点赞评论
    ServerResponse likeComment(HttpServletRequest request,long commentId);

    //用户点赞博客
    ServerResponse likeBlog(HttpServletRequest req, long blogId);

    /**
     *用户取消点赞评论
     * @param pid pid
     * @return ServerResponse
     */
    ServerResponse unlikeComment(long pid);

    /**
     *用户取消点赞博客
     * @param bid bid
     * @return ServerResponse
     */
    ServerResponse unlikeBlog(long bid);

}
